<!DOCTYPE HTML>
<html>
    <head>
        <meta charset="utf-8">
        <title>crates.io version download archives</title>
    </head>
    <body>
        <h1>crates.io version download archives</h1>

        <p>
            This archive contains how many time a version of a crate was downloaded.
            Each CSV file has two columns: the <code>version_id</code> and the number of downloads.
            <br>
            The <code>version_id</code> is the <code>id</code> column of the <code>versions</code>
            table in the database.
            You can download the latest database dump by following the instructions
            <a href="https://crates.io/data-access#database-dumps">here</a>.
        </p>

        <p>
            This index is also available <a href="index.json">in JSON form</a>.
        </p>

        <table>
            <tbody>
                {% for file in files %}
                    <tr>
                        <td><a href="{{ file.name }}">{{ file.name }}</a></td>
                        <td>{{ file.size }}</td>
                    </tr>
                {% endfor %}
            </tbody>
        </table>
    </body>
</html>
